<?php

	// +----------------------------------------------------------------------
	// | 店铺模型
	// +----------------------------------------------------------------------
	// | Copyright (c) 2015-2024 http://www.yicmf.com, All rights reserved.
	// +----------------------------------------------------------------------
	// | Author: 微尘 <yicmf@qq.com>
	// +----------------------------------------------------------------------

	namespace app\model\pos;

	class Store extends Common
	{



        public function getTradeMonthAttr($value,$data)
        {
            return $value;
        }

        public function getTradeAttr($value,$data)
        {
            return $value;
        }
		/**
		 * 写入修改
		 * @param $data
		 */
		public static function onBeforeInsert($data)
		{
			$data['status'] = 1;
		}

		// 类型转换
		protected $type = [
		];


	}
